package Game;

import Cards.Card;

public class Hand {
    
    private boolean[] ocupied;
    private Card[] hand;

    public Hand() {
        this.ocupied = new boolean[3];
        this.hand = new Card[3];
    }

    public boolean[] getOcupied() {
        return ocupied;
    }

    public void setOcupied(boolean[] ocupied) {
        this.ocupied = ocupied;
    }

    public boolean isOcupied(int pos) {
        return ocupied[pos];
    }
    
    public Card[] getHand() {
        return hand;
    }

    public void setHand(Card[] hand) {
        this.hand = hand;
    }
    
    public Card getCard(int pos) {
        return hand[pos];
    }
    
    public void setCard(int pos, Card card) {
        hand[pos] = card;
    }
}
